<!-- ... existing code ... -->
  <el-form :inline="true" :model="form">
    <el-form-item label="货主名称">
      <el-input v-model="from.ownerName" />
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="handleSearch">搜索</el-button>
      <el-button @click="clean">取消</el-button>
    </el-form-item>
  </el-form>
  <br/>
  <el-button type="primary" @click="add">新增</el-button>

  <!-- 新增: 将表格放入一个独立的容器中 -->
  <div class="table-container">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column type="index" label="#" width="50" />
      <el-table-column prop="ownerName" label="货主名称" width="180" />
      <el-table-column label="所在城市" width="120">
        <template #default="scope">
          <span>{{ getCityName(scope.row.cityCode) }}</span>
        </template>
      </el-table-column>
      <el-table-column prop="address" label="详细地址" width="200" />
      <el-table-column prop="contactInfo" label="联系方式" width="120" />
      <el-table-column prop="responsiblePerson" label="负责人" width="120" />
      <el-table-column prop="createTime" label="创建时间" width="160" />
      <el-table-column fixed="right" label="操作" min-width="120">
        <template #default="scope">
          <el-button :icon="Edit" @click="getid(scope.row.id)" circle />
          <el-button :icon="Delete" @click="removes(scope.row.id)" circle />
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<style scoped>
/* 添加样式以确保表格在按钮下方显示 */
.table-container {
  margin-top: 20px; /* 调整间距 */
}
</style>